var url = "http://juston.club/ran/"


$("#test").change(function(){
		//var options = $("#test option:selected"); //获取选中的项
			//var sss = options.text();
			//$('a').append(sss);
			var v = $("#test").val();
			//var nu = "http://juston.club/ran/up/qupfile?type="+v;
			var nu = "http://127.0.0.1/qup/upfile?type="+v;
			$('a').text(nu);
			$("form").attr('action',nu)
	});

/*obj = document.getElementsByName("ck_type");
			check_val = [];
			for(k in obj) {
				if(obj[k].checked)
					check_val.push(obj[k].value);
			}
alert(check_val);
*/

/*$.ajax({
	type: "get",
	url: url + 'video/list',
	async: true,
	dataType: "json",
	data: {
		v_type: 1
	},
	success: function(data) {
		var html = '';
		//alert(data[0].v_name);
		for (var i=0; i<data.length; i++) {
			html+="<div class='aa'><a>"+data[i].v_name+"</a></div>";
			html+="<div class='bb'><a>"+data[i].id+"</a></div>";
		}
		$('a').append(html)
		
	},
	error: function(err) {
		alert(err);
	}

});*/